# 应用ID
APP_ID = "2016101600696841"

# 是否是沙箱环境
DEBUG = True

# 签名算法 RSA or RSA2
SIGN = 'RSA2'


# 网关
if DEBUG:
    GATEWAY = 'https://openapi.alipaydev.com/gateway.do?'
else:
    GATEWAY = 'https://openapi.alipay.com/gateway.do?'


# 应用私钥
app_private_key_string = """-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAjoXb18hvZHr/o5wyeJh90mOWmTX3IoDro1pBwTOfZA4TpUkb5mIIk3yXulLHeMmiuYEpam4BjI0DsJ6S3wVo5QpikbRcdqJ7n6F+XRIMRtx/fG+uTM55GtJ5xeF1ZMi9uWTGvaImkD+uB45cINTZzzOBna9Eq1BkrEo2CSCYWIzaJoYhoYzv+jJOMy7CIM9ZvPCjnbH6jKIvhmsSZGLKaR6p9dU+HuWoK3MhJwG5jV4u39HQp4pf6BXmvGUvAuTTThzjclYxwDeLXv1CNNgf994r5ve94R5qirZ6+9JoWws1TwEZoJbHvfLQUG6kiqjpAb30USa0MNkWpxBbd4SwJwIDAQABAoIBAHCZ7WEEaI2YZ9SZmX6R7AaGy/rsGf7WoFUFACJmaK2iOX9CzZotJd1weGeq8xHJLJknJNODahHjb2DhR+SP35nlpI69UrggE0/BRZa+pZhuqQJlMe5YynGYjMD8KcWgm9SXfDVioNkilpo9rSf7QsJjTSqJyNUYxREh6KM5b2O1ZjUYfKYw1L+klHRpIJGtxjMdFzHuhDFS2i6I6udT04RTgyJm/OAvAqOxPgXB01uydpIlPZHJS68eNOCNcoCAL6ZM19eQnYRVaDA/NPBpj+7A8tCubDU+0e4aamiVptEOO410HVC77+YsevgsyGbwUM+8FGIP4oTWJ+QPFcQduOECgYEAzIX7EqYS6rcs6exzscIJ0oP0Al0+aDLKgHi1tLpMKbR04B3SQlQ/bzSatzYt+CE8egteDI826YW8kKalx13NxsBeESAoBpcDGTrr0Wddew7wQww9XlFGv54+uBvVKqCbuzmt4HAqrkf6KjhU7UdLzFit5eEJ45EfOmoAbXeFTC8Cg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